import React, { Component } from "react";

export default class App extends Component {
  constructor() {
    super();
    this.state = {
      list: [111, 22, 33],
    };
  }
  render() {
    let listDate = this.state.list.map((item, index) => (
      <li key={index}>{item}</li>
    ));
    return (
      <section>
        <ul>{listDate}</ul>
      </section>
    );
  }
}
